﻿using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace wms_wpf.Apiservice
{
    public static class Jwt 
    {

        public static string JwtKey { get; set; }

        private static string _username;
        public static string UserName
        {
            get => _username;
            set
            {
                _username = value;
                UsernameChanged?.Invoke(null, EventArgs.Empty);
            }
        }

        public static event EventHandler UsernameChanged;
    }
}
